import React from "react";

export default class LearnPropsChild2 extends React.Component {
  render() {
    return (
      <div>
        <div>第二个子组件要展示的内容</div>
        {/* 
          this.props.children 接收的是组件内部的内容
        */}
        <div>{this.props.children}</div>
      </div>
    );
  }
}
